<%--
  系统首页导航栏
  Author: ZheL2
  Date: 2023/12/12
  Version: 1.0
--%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ page session="true" %>
<%@ page contentType="text/html; charset=UTF-8" %>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" type="text/css" href="<c:url value='/resources/css/bootstrap.css'/>">
  <link rel="stylesheet" type="text/css" href="<c:url value='/resources/css/style.css' />">
  <script src="<c:url value='/resources/js/bootstrap.bundle.js'/> "></script>
  <title>Document</title>
</head>
<body>

  <!-- 顶部导航栏（Bootstrap 改变风格） -->
  <div>
    <nav class="navbar navbar-expand navbar-light bg-light-subtle fixed-top" style="height: 70px;">
      <a class="navbar-brand" href="<c:url value='/' />" style="margin-left: 80px" >校园社团管理系统</a>
      <!-- links -->
      <div class="collapse navbar-collapse" id="navbarNav">
        <ul class="navbar-nav">
          <li class="nav-item">
            <a class="nav-link" href="<c:url value='/login' />">登录</a>
          </li>
          <li class="nav-item">
            <a class="nav-link" href="<c:url value='/register' />">注册</a>
          </li>
        </ul>
      </div>
    </nav>
    <!-- 添加额外的空白占位，以避免导航栏遮挡页面内容 -->
    <div style="height: 70px;"></div>
  </div>
</body>
</html>